<?php

namespace service\vo\user;

/**
 * 用户对象类
 */
class User
{
    //用户id
    private int $id;
    //用户名
    private string $username;
    //密码
    private string $password;
    //性别
    private int $sex;
    //手机号
    private string $phone;
    //邮箱
    private string $email;
    //生日
    private int $birthday;
    //积分
    private int $integral;
    //可用状态
    private int $status;
    //状态描述
    private string $statusRemark;
    //vip过期日期
    private int $vipExpireTime;
    //添加时间
    private string $addTime;

    /**
     * @return int
     */
    public function getId(): int
    {
        return $this->id;
    }

    /**
     * @param int $id
     */
    public function setId(int $id): void
    {
        $this->id = $id;
    }

    /**
     * @return string
     */
    public function getUsername(): string
    {
        return $this->username;
    }

    /**
     * @param string $username
     */
    public function setUsername(string $username): void
    {
        $this->username = $username;
    }

    /**
     * @return string
     */
    public function getPassword(): string
    {
        return $this->password;
    }

    /**
     * @param string $password
     */
    public function setPassword(string $password): void
    {
        $this->password = $password;
    }

    /**
     * @return int
     */
    public function getSex(): int
    {
        return $this->sex;
    }

    /**
     * @param int $sex
     */
    public function setSex(int $sex): void
    {
        $this->sex = $sex;
    }

    /**
     * @return string
     */
    public function getPhone(): string
    {
        return $this->phone;
    }

    /**
     * @param string $phone
     */
    public function setPhone(string $phone): void
    {
        $this->phone = $phone;
    }

    /**
     * @return string
     */
    public function getEmail(): string
    {
        return $this->email;
    }

    /**
     * @param string $email
     */
    public function setEmail(string $email): void
    {
        $this->email = $email;
    }

    /**
     * @return string
     */
    public function getBirthday(): string
    {
        return $this->birthday;
    }

    /**
     * @param int $birthday
     */
    public function setBirthday(int $birthday): void
    {
        $this->birthday = $birthday;
    }

    /**
     * @return int
     */
    public function getIntegral(): int
    {
        return $this->integral;
    }

    /**
     * @param int $integral
     */
    public function setIntegral(int $integral): void
    {
        $this->integral = $integral;
    }

    /**
     * @return int
     */
    public function getStatus(): int
    {
        return $this->status;
    }

    /**
     * @param int $status
     */
    public function setStatus(int $status): void
    {
        $this->status = $status;
    }

    /**
     * @return string
     */
    public function getStatusRemark(): string
    {
        return $this->statusRemark;
    }

    /**
     * @param string $statusRemark
     */
    public function setStatusRemark(string $statusRemark): void
    {
        $this->statusRemark = $statusRemark;
    }

    /**
     * @return int
     */
    public function getVipExpireTime(): int
    {
        return $this->vipExpireTime;
    }

    /**
     * @param int $vipExpireTime
     */
    public function setVipExpireTime(int $vipExpireTime): void
    {
        $this->vipExpireTime = $vipExpireTime;
    }

    /**
     * @return string
     */
    public function getAddTime(): string
    {
        return $this->addTime;
    }

    /**
     * @param string $addTime
     */
    public function setAddTime(string $addTime): void
    {
        $this->addTime = $addTime;
    }
}